MPHB\Admin\Fields\VariablePricingField A

Total Complexity 61
Dependencies 3
Dependents 1
Total lines 458
Lines of code 294
Logical lines of code 205
Comment lines 66
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
sanitize()
A
48 10 34
renderPrices()
S
53 7 20
renderPeriods()
S
42 3 54
sanitizePrices()
S
61 5 12
setValue()
S
61 4 13
renderVariations()
S
49 3 28
getEditingRoomType()
S
64 4 9
generateTemplate()
S
55 2 17
checkPricesCount()
S
64 3 9
sanitizePeriods()
S
64 3 10
__construct()
S
60 2 12
sanitizeVariations()
S
63 2 11
generateVariation()
S
59 1 13
renderPeriod()
S
75 1 3
getCtrlClasses()
S
79 1 3
renderRestrictedPrice()
S
76 1 3
renderAdults()
S
72 1 4
renderChildren()
S
72 1 4
renderCheckbox()
S
63 1 9
renderInput()
S
69 1 7
sanitizeAdults()
S
72 1 5
sanitizeChildren()
S
72 1 5
getCtrlAtts()
S
78 1 3
sanitizeEnableVariations()
S
80 1 3
renderPrice()
S
76 1 3